home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
dev
/
misc
/
AWNP_2-39.lha
/
AWNP
/
AWNP-Docs
/
palette.doc
< prev
next >
Wrap
Text File
|
1999-07-18
|
1KB
|
79 lines
palette gadget event
-------------------------
'gadget GID selected_color'
Palette gadget parameters.
-------------------------
font=GID
This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
close (c)
This gadget will close the window when selected by the user.
readonly (ro)
This gadget is read only.
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number != 0. Defaults to enabled.
minnumber=number (minn=)
The first color to display in this gadget. Defaults to 0.
maxnumber=number (maxn=)
How many colors to display in this gadget. Defaults to 8.
selected=number (s=)
Color selected when window is opened. Defaults to 0.
minwidth=number (minw=)
Set the minimum width for this gadget
minheight=number (minh=)
Set the minimum height for this gadget
weightedwidth=number (weiw=)
Set the weighted width for this gadget
weightedheight=number (weih=)
Set the weighted height for this gadget
nominalsize (noms)
Set this gadget to its nominal size.
replace=GID
Use this gadget to replace an existing gadget specified by GID.
Definition Reply
-----------------
When the gadget creation is successful the pipe replies with
'ok GID'
Palette gadget modify parameters.
-------------------------
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number != 0.
selected=number (s=)
Set the color selected in the gadget